/* ==========================================================================
       DESIGN TOKENS & RESET
       ========================================================================== */
    :root {
      --blue-primary: #1565c0;
      --blue-secondary: #0d47a1;
      --blue-accent: #1e88e5;
      --blue-light: #e3f2fd;
      --blue-dark-bg: #0a192f;
      --card-bg: rgba(13, 37, 72, 0.95);

      --white: #ffffff;
      --text-main: #f0f4f8;
      --text-muted: #94a3b8;
      --text-subtle: #64748b;

      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --font-mono: 'Fira Code', monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--blue-dark-bg);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      padding-top: 110px; /* Space for fixed banner + nav */
    }

    /* ==========================================================================
       TOP RUNNING BANNER
       ========================================================================== */
    .top-banner {
      width: 100%;
      height: 35px;
      background: linear-gradient(90deg, var(--blue-secondary), var(--blue-accent));
      color: var(--white);
      font-size: 0.88rem;
      font-weight: 600;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .top-banner span {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: scrollBanner 24s linear infinite;
    }

    @keyframes scrollBanner {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* ==========================================================================
       NAVBAR
       ========================================================================== */
    .top-navbar {
      width: 100%;
      position: fixed;
      top: 35px;
      left: 0;
      padding: 10px 24px;
      background: rgba(10, 25, 47, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(30, 136, 229, 0.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      transition: all 0.3s ease;
      z-index: 1500;
    }

    .top-navbar.scrolled {
      background: rgba(8, 20, 38, 0.98);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
      padding: 8px 24px;
    }

    /* Logo & Branding */
    .top-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .top-logo img {
      display: block;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.05);
    }

    .top-logo.left img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .top-logo.right img {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1.5px solid var(--blue-accent);
    }

    .brand-text-group {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1.2;
    }

    .brand-name {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: var(--white);
      white-space: nowrap;
      text-shadow: 0 2px 6px rgba(30, 136, 229, 0.4);
    }

    .brand-subtitle {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .badge-grade {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: #64b5f6;
      background: rgba(30, 136, 229, 0.15);
      border: 1px solid rgba(100, 181, 246, 0.3);
      padding: 1px 6px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .sub-dot {
      font-size: 0.6rem;
      color: var(--text-muted);
      opacity: 0.6;
    }

    .badge-subject {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 1.2px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    /* Links */
    .top-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .top-links a {
      color: var(--text-main);
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 600;
      padding: 6px 2px;
      position: relative;
      transition: color 0.25s ease;
    }

    .top-links a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2.5px;
      background: var(--blue-accent);
      transition: width 0.25s ease;
    }

    .top-links a:hover,
    .top-links a.active {
      color: var(--blue-light);
    }

    .top-links a:hover::after,
    .top-links a.active::after {
      width: 100%;
    }

    /* Header Right Actions */
    .top-right-group {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .nav-exit-btn {
      background: linear-gradient(135deg, #d32f2f, #b71c1c);
      color: var(--white);
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-exit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(211, 47, 47, 0.4);
    }

    /* Mobile Hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 26px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1600;
    }

    .nav-toggle span {
      display: block;
      height: 2.5px;
      width: 100%;
      background: var(--white);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
      transform: translateY(8.5px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
    }

    /* ==========================================================================
       EXIT CONFIRMATION MODAL
       ========================================================================== */
    .exit-modal-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(5, 12, 26, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .exit-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .exit-modal-card {
      width: 90%;
      max-width: 380px;
      background: var(--card-bg);
      border: 1px solid rgba(41, 121, 255, 0.35);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(41, 121, 255, 0.2);
      transform: scale(0.92);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .exit-modal-overlay.active .exit-modal-card {
      transform: scale(1);
    }

    .exit-modal-icon {
      font-size: 2.2rem;
      margin-bottom: 8px;
    }

    .exit-modal-title {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 8px;
    }

    .exit-modal-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 22px;
    }

    .exit-modal-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
      flex: 1;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-modal-cancel {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-main);
    }

    .btn-modal-cancel:hover {
      background: rgba(255, 255, 255, 0.16);
      color: var(--white);
    }

    .btn-modal-confirm {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    }

    .btn-modal-confirm:hover {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    }

    /* ==========================================================================
       SITE FOOTER
       ========================================================================== */
    .site-footer {
      position: relative;
      width: 100%;
      background: linear-gradient(180deg, rgba(8, 20, 38, 0.85) 0%, #060e1d 100%);
      border-top: 1px solid rgba(41, 121, 255, 0.25);
      color: var(--text-muted);
      margin-top: auto;
      overflow: hidden;
    }

    .footer-glow-bar {
      position: absolute;
      top: -1px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #2979ff, #60a5fa, transparent);
      box-shadow: 0 0 15px rgba(41, 121, 255, 0.6);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 24px 35px 24px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .footer-heading {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 18px;
      position: relative;
      display: inline-block;
    }

    .footer-heading::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--blue-accent);
      border-radius: 2px;
    }

    .footer-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .footer-seal {
      width: 44px;
      height: 44px;
      object-fit: contain;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .footer-brand-title {
      display: block;
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 3px;
    }

    .footer-tags {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .footer-desc {
      font-size: 0.88rem;
      line-height: 1.55;
      color: var(--text-muted);
      margin-bottom: 16px;
      max-width: 540px;
    }

    .footer-formula-pill {
      display: inline-flex;
      align-items: center;
      background: rgba(41, 121, 255, 0.08);
      border: 1px solid rgba(41, 121, 255, 0.3);
      padding: 6px 14px;
      border-radius: 8px;
      box-shadow: inset 0 0 10px rgba(41, 121, 255, 0.05);
    }

    .footer-formula-pill code {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: #93c5fd;
    }

    .footer-specs-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .spec-item {
      display: flex;
      flex-direction: column;
      font-size: 0.85rem;
    }

    .spec-label {
      font-size: 0.75rem;
      color: var(--text-subtle);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
    }

    .spec-val {
      color: var(--text-main);
      font-weight: 500;
    }

    .footer-partner-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 6px 12px;
      border-radius: 8px;
      width: fit-content;
    }

    .footer-partner-logo img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      border-radius: 4px;
    }

    .footer-partner-logo span {
      font-size: 0.8rem;
      font-weight: 600;
      color: #cbd5e1;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(4, 10, 20, 0.95);
      padding: 18px 24px;
    }

    .footer-bottom-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .copyright-text {
      font-size: 0.82rem;
      color: var(--text-subtle);
    }

    .copyright-text strong {
      color: var(--text-muted);
    }

    .back-to-top {
      color: #60a5fa;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 6px;
      background: rgba(41, 121, 255, 0.1);
      border: 1px solid rgba(41, 121, 255, 0.25);
      transition: all 0.2s ease;
    }

    .back-to-top:hover {
      background: rgba(41, 121, 255, 0.2);
      color: var(--white);
      transform: translateY(-2px);
    }

/* ==========================================
   SIMPLE PHYSICS LESSONS DROPDOWN
   ========================================== */

.phy-nav-dropdown {
  position: relative;
  list-style: none;
}

/* Lessons link and arrow */
.phy-nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phy-nav-main-link {
  color: inherit;
  text-decoration: none;
}

.phy-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.phy-nav-arrow svg {
  transition: transform .2s ease;
}

.phy-nav-dropdown.is-open .phy-nav-arrow svg {
  transform: rotate(180deg);
}

/* Dropdown box */
.phy-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  margin: 0;
  padding: 8px;
  list-style: none;

  background: #ffffff;
  border: 1px solid #dce8f4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 65, 110, .10);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 9999;
}

/* Open dropdown */
.phy-nav-dropdown.is-open > .phy-nav-menu,
.phy-nav-dropdown:focus-within > .phy-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Chapter heading */
.phy-nav-menu-heading {
  padding: 9px 11px;
  color: #68849e;
  font-size: 11px;
  font-weight: 700;
}

.phy-nav-pulse {
  display: none;
}

/* Lesson items */
.phy-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 2px 0;
  border-radius: 7px;
  text-decoration: none;
  color: #254967;
  transition: background .2s ease;
}

.phy-nav-menu > li > a:hover {
  background: #edf6ff;
  color: #176bc4;
}

/* Lesson number */
.phy-nav-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 36px;
  background: #edf5fc;
  border-radius: 6px;
  color: #176bc4;
  font-size: 12px;
  font-weight: 700;
}

/* Lesson title */
.phy-nav-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phy-nav-item-text strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.phy-nav-item-text small {
  font-size: 10px;
  color: #8194a5;
}

/* Bottom link */
.phy-nav-footer {
  border-top: 1px solid #e6edf4;
  margin-top: 5px;
  padding-top: 5px;
}

.phy-nav-menu .phy-nav-footer a {
  color: #176bc4;
  font-size: 12px;
  font-weight: 600;
  justify-content: space-between;
}

/* Mobile */
@media (max-width: 900px) {
  .phy-nav-dropdown {
    width: 100%;
  }

  .phy-nav-trigger {
    justify-content: space-between;
  }

  .phy-nav-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .phy-nav-dropdown.is-open > .phy-nav-menu,
  .phy-nav-dropdown:focus-within > .phy-nav-menu {
    max-height: 450px;
    padding: 6px;
    margin-top: 5px;
    background: #f7fbff;
    opacity: 1;
    visibility: visible;
  }
}


    /* ==========================================================================
       MEDIA QUERIES & RESPONSIVENESS
       ========================================================================== */
    @media screen and (max-width: 992px) {
      .nav-toggle {
        display: flex;
      }

      .nav-container {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 75px);
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid rgba(30, 136, 229, 0.3);
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
      }

      .nav-container.open {
        right: 0;
      }

      .top-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
      }

      .top-links a {
        font-size: 1.05rem;
        display: block;
        width: 100%;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media screen and (max-width: 600px) {
      body {
        padding-top: 100px;
      }

      .top-navbar {
        padding: 8px 14px;
      }

      .brand-name {
        font-size: 0.92rem;
      }

      .badge-grade,
      .badge-subject {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
      }

      .top-logo.left img,
      .top-logo.right img {
        width: 34px;
        height: 34px;
      }

      .nav-exit-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
      }

      .footer-container {
        padding: 36px 16px 24px 16px;
      }

      .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-formula-pill {
        width: 100%;
        justify-content: center;
      }
    }  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap');

    #lens-exercises {
      --lx-blue: #1768b5;
      --lx-dark: #10385f;
      --lx-cyan: #00a9d6;
      --lx-light: #edf7ff;
      --lx-border: #d7e8f5;
      --lx-text: #243b53;
      --lx-green: #15803d;
      --lx-red: #dc2626;

      width: 100%;
      box-sizing: border-box;
      padding: 30px clamp(14px, 3vw, 48px) 65px;
      background:
        radial-gradient(circle at 90% 5%, #d8f0ff 0, transparent 35%),
        linear-gradient(180deg, #f4faff, #ffffff);
      color: var(--lx-text);
      font-family: Inter, sans-serif;
    }

    #lens-exercises *,
    #lens-exercises *::before,
    #lens-exercises *::after {
      box-sizing: border-box;
    }

    #lens-exercises .lx-header {
      position: relative;
      overflow: hidden;
      padding: clamp(25px, 4vw, 50px);
      border-radius: 22px;
      background: linear-gradient(120deg, #10518f, #167ac4);
      color: white;
      margin-bottom: 25px;
    }

    #lens-exercises .lx-header::after {
      content: "";
      position: absolute;
      width: 250px;
      height: 250px;
      border: 35px solid rgba(255,255,255,.08);
      border-radius: 50%;
      right: -65px;
      top: -100px;
      pointer-events: none;
    }

    #lens-exercises .lx-tag {
      display: inline-block;
      padding: 7px 14px;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 30px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .5px;
    }

    #lens-exercises h1,
    #lens-exercises h2,
    #lens-exercises h3 {
      font-family: Outfit, sans-serif;
    }

    #lens-exercises .lx-header h1 {
      font-size: clamp(29px, 4vw, 48px);
      margin: 15px 0 10px;
      line-height: 1.2;
    }

    #lens-exercises .lx-header p {
      max-width: 750px;
      color: #e4f3ff;
      line-height: 1.8;
      font-size: 15px;
    }

    #lens-exercises .lx-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 15px;
      padding: 18px 22px;
      border: 1px solid var(--lx-border);
      background: white;
      border-radius: 15px;
      margin-bottom: 25px;
    }

    #lens-exercises .lx-progress {
      font-size: 14px;
      font-weight: 700;
      color: var(--lx-dark);
    }

    #lens-exercises .lx-progress-track {
      width: min(240px, 40vw);
      height: 8px;
      background: #e1edf7;
      border-radius: 20px;
      margin-top: 8px;
      overflow: hidden;
    }

    #lens-exercises .lx-progress-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #1680cb, #16b7d5);
      border-radius: inherit;
      transition: width .4s ease;
    }

    #lens-exercises button {
      font: inherit;
      cursor: pointer;
    }

    #lens-exercises .lx-translate {
      border: 0;
      padding: 12px 20px;
      border-radius: 10px;
      color: white;
      background: var(--lx-blue);
      font-weight: 700;
      transition: .2s;
    }

    #lens-exercises .lx-translate:hover {
      background: #0d4e8e;
      transform: translateY(-2px);
    }

    #lens-exercises .lx-card {
      background: white;
      border: 1px solid var(--lx-border);
      border-radius: 18px;
      margin-bottom: 20px;
      overflow: hidden;
      box-shadow: 0 6px 25px rgba(26,84,130,.045);
      transition: border-color .25s, box-shadow .25s;
    }

    #lens-exercises .lx-card:hover {
      border-color: #a8d5f1;
      box-shadow: 0 10px 30px rgba(26,84,130,.08);
    }

    #lens-exercises .lx-card-head {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 20px 24px;
      background: #f7fbff;
      border-bottom: 1px solid var(--lx-border);
    }

    #lens-exercises .lx-number {
      display: grid;
      place-items: center;
      flex-shrink: 0;
      width: 43px;
      height: 43px;
      border-radius: 12px;
      background: var(--lx-blue);
      color: white;
      font-size: 17px;
      font-weight: 800;
    }

    #lens-exercises .lx-card-head h2 {
      font-size: 18px;
      color: var(--lx-dark);
      margin: 0;
    }

    #lens-exercises .lx-type {
      margin-left: auto;
      color: #53758d;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    #lens-exercises .lx-body {
      padding: 25px;
    }

    #lens-exercises .lx-question {
      font-size: 15px;
      line-height: 1.95;
      color: #263c52;
      margin: 0 0 18px;
    }

    #lens-exercises .lx-question strong {
      color: var(--lx-dark);
    }

    #lens-exercises .lx-options {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 12px;
      margin: 18px 0;
    }

    #lens-exercises .lx-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 15px;
      border: 1px solid #dce9f3;
      border-radius: 11px;
      cursor: pointer;
      background: #fafcff;
      transition: .2s;
      font-size: 14px;
    }

    #lens-exercises .lx-option:hover {
      border-color: #70b7e6;
      background: #eef8ff;
    }

    #lens-exercises .lx-option:has(input:checked) {
      border-color: var(--lx-blue);
      background: #e8f4ff;
    }

    #lens-exercises .lx-option input {
      accent-color: var(--lx-blue);
      width: 17px;
      height: 17px;
      flex-shrink: 0;
    }

    #lens-exercises .lx-input-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin: 18px 0;
    }

    #lens-exercises .lx-input {
      width: min(100%, 230px);
      padding: 13px 15px;
      border: 1px solid #bfd8eb;
      border-radius: 10px;
      outline: none;
      font: inherit;
      background: #fff;
    }

    #lens-exercises .lx-input:focus {
      border-color: var(--lx-blue);
      box-shadow: 0 0 0 3px #dcefff;
    }

    #lens-exercises .lx-unit {
      color: #60778a;
      font-size: 13px;
    }

    #lens-exercises .lx-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
    }

    #lens-exercises .lx-btn {
      border: 0;
      border-radius: 9px;
      padding: 11px 17px;
      font-weight: 700;
      font-size: 13px;
      transition: .2s;
    }

    #lens-exercises .lx-btn-primary {
      background: var(--lx-blue);
      color: white;
    }

    #lens-exercises .lx-btn-primary:hover {
      background: #10508e;
    }

    #lens-exercises .lx-btn-outline {
      background: #edf6ff;
      color: var(--lx-blue);
      border: 1px solid #c5e0f4;
    }

    #lens-exercises .lx-btn-outline:hover {
      background: #dcefff;
    }

    #lens-exercises .lx-feedback {
      margin-top: 14px;
      padding: 12px 15px;
      border-radius: 9px;
      font-size: 14px;
      font-weight: 600;
      display: none;
    }

    #lens-exercises .lx-feedback.correct {
      display: block;
      background: #eaf9ee;
      color: #166534;
      border: 1px solid #b8e7c4;
    }

    #lens-exercises .lx-feedback.wrong {
      display: block;
      background: #fff0f0;
      color: #b91c1c;
      border: 1px solid #fecaca;
    }

    #lens-exercises .lx-solution {
      display: none;
      margin-top: 18px;
      padding: 20px;
      background: #f0f8ff;
      border-left: 4px solid var(--lx-blue);
      border-radius: 0 12px 12px 0;
      line-height: 1.95;
      font-size: 14px;
      overflow-wrap: anywhere;
    }

    #lens-exercises .lx-solution.open {
      display: block;
      animation: lxFade .25s ease;
    }

    #lens-exercises .lx-solution h3 {
      color: var(--lx-dark);
      font-size: 17px;
      margin: 0 0 12px;
    }

    #lens-exercises .lx-math {
      background: white;
      padding: 14px 18px;
      margin: 12px 0;
      border: 1px solid #d4e7f5;
      border-radius: 9px;
      color: #174b77;
      font-family: Georgia, serif;
      font-size: 17px;
      line-height: 1.9;
      overflow-x: auto;
    }

    #lens-exercises .lx-note {
      padding: 13px 16px;
      background: #fff9e9;
      border: 1px solid #f3dfaa;
      border-radius: 10px;
      margin: 15px 0;
      color: #755719;
      font-size: 13px;
      line-height: 1.8;
    }

    #lens-exercises .lx-subquestion {
      border-top: 1px dashed #d7e8f5;
      padding-top: 18px;
      margin-top: 18px;
    }

    #lens-exercises .lx-subquestion:first-child {
      border-top: 0;
      padding-top: 0;
      margin-top: 0;
    }

    #lens-exercises .lx-small-label {
      display: inline-block;
      font-size: 12px;
      font-weight: 800;
      color: var(--lx-blue);
      margin-bottom: 8px;
    }

    #lens-exercises .lx-footer {
      margin-top: 30px;
      padding: 24px;
      text-align: center;
      background: #eaf5ff;
      border: 1px solid #d4e8f8;
      border-radius: 15px;
      color: var(--lx-dark);
    }

    #lens-exercises .lx-footer h2 {
      margin: 0 0 10px;
    }

    #lens-exercises .lx-footer p {
      line-height: 1.8;
    }

    #lens-exercises .lx-my {
      font-family: "Noto Sans Myanmar", sans-serif !important;
      line-height: 2.1 !important;
    }

    @keyframes lxFade {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 650px) {
      #lens-exercises {
        padding: 15px 12px 40px;
      }

      #lens-exercises .lx-header {
        padding: 25px 20px;
      }

      #lens-exercises .lx-card-head {
        padding: 16px;
      }

      #lens-exercises .lx-body {
        padding: 18px;
      }

      #lens-exercises .lx-options {
        grid-template-columns: 1fr;
      }

      #lens-exercises .lx-type {
        font-size: 10px;
      }

      #lens-exercises .lx-btn {
        flex: 1;
      }
    }